package com.hifar.test.task.pojo.VO;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hifar.plat.baseModal.pojo.BaseOssFiles;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @author zhuWeiWei
 * @description 任务取消VO
 * @date 2025/6/24 14:27
 */
@Data
@ApiModel("任务取消VOV")
public class HfEnvTaskCancelSaveVO {

    @ApiModelProperty("任务id")
    private String id;

    @ApiModelProperty("取消原因")
    private String exceptionDesc;

    @ApiModelProperty("记录时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date recordTime;

    @ApiModelProperty("记录人id")
    private String recordUserId;

    @ApiModelProperty("记录人名称")
    private String recordUserName;

    @ApiModelProperty("附件")
    private List<BaseOssFiles> files;

}
